<?
	function createRandomStr($length){ 
		$str = array_merge(range(0,9),range('a','z'),range('A','Z')); 
		shuffle($str); 
		$str = implode('',array_slice($str,0,$length)); 
		return $str; 
	} 
?>